import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element' // element-ui
import './plugins/directive' // 自定义指令
import './plugins/filters' // 全局过滤器
import './plugins/mixins' // 全局混入
import './style/font/iconfont.css' // 扩展图标库
import 'animate.css'

Vue.config.productionTip = false

Vue.prototype.$BASE_URL = `${window.location.origin}/api`

// 取消拖拽默认行为
document.body.ondrop = function (event) {
	event.preventDefault()
	event.stopPropagation()
}

new Vue({
	router,
	store,
	render: h => h(App)
}).$mount('#app')
